package adv6;

import java.io.*;

public class Writer2 {

	public static void main(String[] args) {
		// BuffferedWriter
		try {
			StringBuilder sb = null;

			BufferedWriter bw = new BufferedWriter(new FileWriter("data.txt"));
			bw.write("大扎好");
			bw.newLine();
			bw.write("我思喳喳辉");
			bw.newLine();//
			bw.close();
		} catch (IOException e) {
			// TODO 自动生成的 catch 块
			e.printStackTrace();
		}
	}

}
